package com.liqing.movecomment.enums;

/**
 * @author
 * @author 2023-03-01 10:39
 * description:
 **/
public class Constent {
    public static final String USER = "user";


    public static String PROJECT_ROOT_DIRECTORY = "/data/client/";
    public static String ZIP_PATH = "/data/zip/";

    static {
        if (System.getProperty("os.name").toUpperCase().contains("WINDOWS")) {
            PROJECT_ROOT_DIRECTORY = "D:\\data\\client\\";
            ZIP_PATH = "D:\\data\\client\\ZIP\\";
        }
    }

    //文件相关的地址
    public interface FilePath {
        //头像地址
        public String FILE_PATH = PROJECT_ROOT_DIRECTORY + "/%s";


    }
}
